Release 10.1A: OpenEdge Development:
Internationalizing Applications
Using the 4GL
Besides using the keyboard and possibly the mouse to enter multi-byte characters, you can also use the Progress 4GL.
Using the 4GL to simulate inputting double-byte characters
To input a double-byte character using the 4GL, assemble the character using the
CHRfunction, whose syntax is:
The following example creates and displays the
double-byte character. It is from the KSC5601 code page, which supports Korean:
In the preceding example, the second line shifts the first value into the lead byte and adds the second value to the trail byte.
Note: The preceding example assumes the internal code page (-cpinternal) is set to KSC5601.Using the 4GL to simulate key presses and mouse clicks
Besides using the Progress 4GL to simulate the input of characters, including multi-byte characters, you can also use the 4GL to simulate key presses and mouse clicks in a multi-byte environment.
Table 8–2 describes the 4GL elements involved and the multi-byte support provided by each.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |